import { Button, Form, Input, Select } from "antd"

const SearchForm = ({ onFinish, cz }) => {
    return (
        <div>
            <Form onFinish={onFinish} onReset={cz}>
                <Form.Item label='姓名' name='name'>
                    <Input />
                </Form.Item>
                <Form.Item label='公司职位' name='job'>
                    <Select>
                        <Select.Option value='销售助理'>销售助理</Select.Option>
                        <Select.Option value='销售员'>销售员</Select.Option>
                        <Select.Option value='总经理'>总经理</Select.Option>
                    </Select>
                </Form.Item>
                <Form.Item label='公司' name='schema_name'>
                    <Select>
                        <Select.Option value='上海分公司'>上海分公司</Select.Option>
                        <Select.Option value='北京分公司'>北京分公司</Select.Option>
                        <Select.Option value='浙江分公司'>浙江分公司</Select.Option>
                    </Select>
                </Form.Item>
                <Form.Item>
                    <Button htmlType='submit'>搜索</Button>
                    <Button htmlType='reset'>重置</Button>
                </Form.Item>
            </Form>
        </div>
    )
}
export default SearchForm